package com.akmedia.lacommunity.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author keep
 * @date 2025-05-19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private int uid;
    private String nickName;
    private String email;
    private String headImage;
    private String phoneNumber;
    private int status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime lastLoginTime;
    private int uiId;
}
